<div id="wellcome">
    <?php if(isset($_SESSION['user_id'])):?>
    <h3>Welcome <?php echo ucwords($_SESSION['fname']).' '.ucwords($_SESSION['lname']); ?></h3>
    <?php 
          else:
    ?>
    <h3>Please Login</h3>

    <?php    endif;?>

</div>
